﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Plot
{
    /// <summary>
    /// Contains finded value..
    /// </summary>
    public class PlotPointFindedEventArgs : EventArgs
    {
        /// <summary>
        /// Finded value
        /// </summary>
        private PlotPoint _point;

        /// <summary>
        /// Norm point for this value
        /// </summary>
        private PlotPoint _normPoint;
        
        /// <summary>
        /// constructor
        /// </summary>
        /// <param name="plotPoint">Finded value</param>
        public PlotPointFindedEventArgs(PlotPoint plotPoint)
        {
            _point = plotPoint;
        }
        
        /// <summary>
        /// Finded value
        /// </summary>
        public PlotPoint Point
        {
            get
            {
                return _point;
            }
        }

        /// <summary>
        /// Norm Point
        /// </summary>
        public PlotPoint NormPoint {
            get { return _normPoint; }
            set { _normPoint = value; }        
        }
    }
}
